package com.ai.wxy.spring.service.api.dto;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 默认的请求参数
 *
 * @author 石头
 * @Date 2019/11/18
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
public class DefaultServiceParam<T> implements ServiceParam {
    private T param;

    public static <F>DefaultServiceParam<F> build(F param){
        return new DefaultServiceParam(param);
    }
}
